package com.qf.service.impl;

import com.qf.entity.RoomTypeVO;
import com.qf.mapper.EchartsMapper;
import com.qf.service.EchartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName: EchartsServiceImpl
 * @Author: WangHao
 * @Date: 2025/5/11 20:38
 * @Description:
 * @Version: 1.0
 */
@Service
public class EchartsServiceImpl implements EchartsService {

    @Autowired
    private EchartsMapper echartsMapper;

    @Override
    public List<RoomTypeVO> getRoomType() {
        return echartsMapper.getRoomType();
    }

    @Override
    public List<RoomTypeVO> getRoomTypePrice() {
        return echartsMapper.getRoomTypePrice();
    }
}
